package org.force4spring.support;

import java.rmi.RemoteException;

import javax.xml.rpc.ServiceException;

public interface SessionFactory {
	public ForceSession openSession(ForceCredentials credentials)
			throws RemoteException, ServiceException;

	public ForceSession openSession() throws RemoteException, ServiceException;

	public ForceSession openSession(int timeout) throws RemoteException,
			ServiceException;

	public ForceSession openSession(ForceCredentials credentials, int timeout)
			throws RemoteException, ServiceException;
}